# List buildings by location

Returns the list of buildings associated with the specified location within the current account context.
            
Behavior:
- Validates the location belongs to the account
- Retrieves buildings linked to the given location identifier
- Returns structured building response data
- Logs the action as a building's view

Endpoint: GET /api/v1/portfolio/locations/{locationidentifier}/buildings

## Path parameters:

  - `locationIdentifier` (string, required)

## Response 200 fields (text/plain):

  - `data` (array,null)

  - `data.buildingId` (string)

  - `data.buildingName` (string,null)

  - `data.levels` (array,null)

  - `data.levels.levelId` (string)

  - `data.levels.levelName` (string,null)

  - `data.levels.cadPlans` (array,null)

  - `data.levels.cadPlans.planId` (string)

  - `data.levels.cadPlans.planType` (object)

  - `data.levels.cadPlans.planType.planTypeId` (string)

  - `data.levels.cadPlans.planType.planTypeName` (string,null)

  - `data.levels.cadPlans.planDescription` (string,null)

  - `data.levels.cadPlans.planModel` (object)

  - `data.levels.cadPlans.planModel.planModelId` (string)

  - `data.levels.cadPlans.planModel.planModelName` (string,null)

  - `data.levels.cadPlans.planFile` (object)

  - `data.levels.cadPlans.planFile.fileId` (string)

  - `data.levels.cadPlans.planFile.fileName` (string,null)

  - `data.levels.cadPlans.planFile.fileSize` (string,null)

  - `data.levels.cadPlans.planFile.currentRevisionNumber` (integer)

  - `data.levels.cadPlans.planFile.createdOn` (string,null)

  - `data.levels.cadPlans.planFile.fileSizeInBytes` (integer)

  - `data.levels.cadPlans.planFile.createdDate` (string)

  - `data.levels.cadPlans.planFile.createdBy` (string,null)

  - `data.levels.cadPlans.planFile.isLatest` (boolean)

  - `data.levels.cadPlans.revisions` (array,null)

  - `data.levels.cadPlans.revisions.fileId` (string)

  - `data.levels.cadPlans.revisions.fileName` (string,null)

  - `data.levels.cadPlans.revisions.fileSize` (string,null)

  - `data.levels.cadPlans.revisions.currentRevisionNumber` (integer)

  - `data.levels.cadPlans.revisions.createdOn` (string,null)

  - `data.levels.cadPlans.revisions.fileSizeInBytes` (integer)

  - `data.levels.cadPlans.revisions.createdDate` (string)

  - `data.levels.cadPlans.revisions.createdBy` (string,null)

  - `data.levels.cadPlans.revisions.isLatest` (boolean)

  - `data.levels.cadPlans.locationInfo` (object)

  - `data.levels.cadPlans.locationInfo.location` (string,null)

  - `data.levels.cadPlans.locationInfo.locationId` (string,null)

  - `data.levels.cadPlans.locationInfo.building` (string,null)

  - `data.levels.cadPlans.locationInfo.buildingId` (string,null)

  - `data.levels.cadPlans.locationInfo.level` (string,null)

  - `data.levels.cadPlans.locationInfo.levelId` (string,null)

  - `data.levels.cadPlans.locationInfo.room` (string,null)

  - `data.levels.cadPlans.locationInfo.roomId` (string,null)

  - `data.levels.cadPlans.locationInfo.workspace` (string,null)

  - `data.levels.cadPlans.locationInfo.workspaceId` (string,null)

  - `data.levels.cadPlans.locationInfo.spaceKey` (string,null)

  - `data.levels.cadPlans.locationInfo.spaceAssignedOn` (string,null)

  - `data.levels.cadPlans.locationInfo.spaceCategory` (object)

  - `data.levels.cadPlans.locationInfo.spaceCategory.spaceCategoryId` (string)

  - `data.levels.cadPlans.locationInfo.spaceCategory.spaceCategoryName` (string,null)

  - `data.levels.cadPlans.locationInfo.spaceCategory.spaceCategoryCode` (string,null)

  - `data.levels.cadPlans.locationInfo.roomFunction` (object)

  - `data.levels.cadPlans.locationInfo.roomFunction.roomFunctionId` (string)

  - `data.levels.cadPlans.locationInfo.roomFunction.roomFunctionName` (string,null)

  - `data.levels.cadPlans.locationInfo.spaceArea` (number,null)

  - `data.levels.cadPlans.locationInfo.levelPlanHandle` (string,null)

  - `data.levels.cadPlans.locationInfo.employeeLocationId` (string,null)

  - `data.levels.cadPlans.locationInfo.rollBackInfo` (object)

  - `data.levels.cadPlans.locationInfo.rollBackInfo.isRollBack` (boolean)

  - `data.levels.cadPlans.locationInfo.rollBackInfo.rollBackType` (string,null)

  - `data.levels.cadPlans.locationInfo.rollBackInfo.employeeLocationId` (string)

  - `data.levels.cadPlans.locationInfo.rollBackInfo.comments` (string,null)

  - `data.levels.cadPlans.locationInfo.levelPlanId` (string,null)

  - `data.levels.cadPlans.locationInfo.planFile` (object)

  - `data.levels.cadPlans.locationInfo.planFile.fileId` (string)

  - `data.levels.cadPlans.locationInfo.planFile.fileName` (string,null)

  - `data.levels.cadPlans.locationInfo.planFile.fileSize` (string,null)

  - `data.levels.cadPlans.locationInfo.planFile.currentRevisionNumber` (integer)

  - `data.levels.cadPlans.locationInfo.planFile.createdOn` (string,null)

  - `data.levels.cadPlans.locationInfo.planFile.fileSizeInBytes` (integer)

  - `data.levels.cadPlans.locationInfo.planFile.createdDate` (string)

  - `data.levels.cadPlans.locationInfo.planFile.createdBy` (string,null)

  - `data.levels.cadPlans.locationInfo.planFile.isLatest` (boolean)

  - `data.levels.cadPlans.locationInfo.cadPlanCoordinates` (array,null)

  - `data.levels.cadPlans.locationInfo.spaceAssignedOnDateTimeFormat` (string,null)

  - `data.levels.cadPlans.locationInfo.svgPlanAdded` (boolean)

  - `data.levels.cadPlans.assetIds` (array,null)

  - `data.levels.cadPlans.svgPlanAdded` (boolean)

  - `data.levels.cadPlans.responseDescription` (string,null)

  - `data.levels.cadPlans.hasAnyRevisions` (boolean)

  - `data.levels.cadPlans.isPlanRemoved` (boolean)

  - `data.levels.cadPlans.responseMessage` (string,null)

  - `data.levels.cadPlans.isCadPlanExist` (boolean)

  - `data.levels.spaceDetail` (object)

  - `data.levels.spaceDetail.numberOfDepartments` (integer)

  - `data.levels.spaceDetail.totalArea` (number)

  - `data.levels.spaceDetail.usableArea` (number)

  - `data.levels.spaceDetail.occupied` (integer)

  - `data.levels.spaceDetail.vacant` (integer)

  - `data.levels.orgUnitInfo` (array,null)

  - `data.levels.orgUnitInfo.orgUnitId` (string,null)

  - `data.levels.orgUnitInfo.orgUnitName` (string,null)

  - `data.levels.orgUnitInfo.employeeCount` (integer)

  - `data.levels.orgUnitInfo.levelId` (integer)

  - `data.levels.orgUnitInfo.orgUnitCode` (string,null)

  - `data.levels.status` (object)

  - `data.levels.status.statusId` (string)

  - `data.levels.status.statusCode` (string,null)

  - `data.levels.status.statusName` (string,null)

  - `data.levels.status.statusColor` (string,null)

  - `data.buildingPlans` (array,null)

  - `data.buildingPlans.planId` (string)

  - `data.buildingPlans.planType` (object)

  - `data.buildingPlans.planType.planTypeId` (string)

  - `data.buildingPlans.planType.planTypeName` (string,null)

  - `data.buildingPlans.planDescription` (string,null)

  - `data.buildingPlans.planModel` (object)

  - `data.buildingPlans.planModel.planModelId` (string)

  - `data.buildingPlans.planModel.planModelName` (string,null)

  - `data.buildingPlans.planFile` (object)

  - `data.buildingPlans.planFile.fileId` (string)

  - `data.buildingPlans.planFile.fileName` (string,null)

  - `data.buildingPlans.planFile.fileSize` (string,null)

  - `data.buildingPlans.planFile.currentRevisionNumber` (integer)

  - `data.buildingPlans.planFile.createdOn` (string,null)

  - `data.buildingPlans.planFile.fileSizeInBytes` (integer)

  - `data.buildingPlans.planFile.createdDate` (string)

  - `data.buildingPlans.planFile.createdBy` (string,null)

  - `data.buildingPlans.planFile.isLatest` (boolean)

  - `data.buildingPlans.revisions` (array,null)

  - `data.buildingPlans.revisions.fileId` (string)

  - `data.buildingPlans.revisions.fileName` (string,null)

  - `data.buildingPlans.revisions.fileSize` (string,null)

  - `data.buildingPlans.revisions.currentRevisionNumber` (integer)

  - `data.buildingPlans.revisions.createdOn` (string,null)

  - `data.buildingPlans.revisions.fileSizeInBytes` (integer)

  - `data.buildingPlans.revisions.createdDate` (string)

  - `data.buildingPlans.revisions.createdBy` (string,null)

  - `data.buildingPlans.revisions.isLatest` (boolean)

  - `data.buildingPlans.locationInfo` (object)

  - `data.buildingPlans.locationInfo.location` (string,null)

  - `data.buildingPlans.locationInfo.locationId` (string,null)

  - `data.buildingPlans.locationInfo.building` (string,null)

  - `data.buildingPlans.locationInfo.buildingId` (string,null)

  - `data.buildingPlans.locationInfo.level` (string,null)

  - `data.buildingPlans.locationInfo.levelId` (string,null)

  - `data.buildingPlans.locationInfo.room` (string,null)

  - `data.buildingPlans.locationInfo.roomId` (string,null)

  - `data.buildingPlans.locationInfo.workspace` (string,null)

  - `data.buildingPlans.locationInfo.workspaceId` (string,null)

  - `data.buildingPlans.locationInfo.spaceKey` (string,null)

  - `data.buildingPlans.locationInfo.spaceAssignedOn` (string,null)

  - `data.buildingPlans.locationInfo.spaceCategory` (object)

  - `data.buildingPlans.locationInfo.spaceCategory.spaceCategoryId` (string)

  - `data.buildingPlans.locationInfo.spaceCategory.spaceCategoryName` (string,null)

  - `data.buildingPlans.locationInfo.spaceCategory.spaceCategoryCode` (string,null)

  - `data.buildingPlans.locationInfo.roomFunction` (object)

  - `data.buildingPlans.locationInfo.roomFunction.roomFunctionId` (string)

  - `data.buildingPlans.locationInfo.roomFunction.roomFunctionName` (string,null)

  - `data.buildingPlans.locationInfo.spaceArea` (number,null)

  - `data.buildingPlans.locationInfo.levelPlanHandle` (string,null)

  - `data.buildingPlans.locationInfo.employeeLocationId` (string,null)

  - `data.buildingPlans.locationInfo.rollBackInfo` (object)

  - `data.buildingPlans.locationInfo.rollBackInfo.isRollBack` (boolean)

  - `data.buildingPlans.locationInfo.rollBackInfo.rollBackType` (string,null)

  - `data.buildingPlans.locationInfo.rollBackInfo.employeeLocationId` (string)

  - `data.buildingPlans.locationInfo.rollBackInfo.comments` (string,null)

  - `data.buildingPlans.locationInfo.levelPlanId` (string,null)

  - `data.buildingPlans.locationInfo.planFile` (object)

  - `data.buildingPlans.locationInfo.planFile.fileId` (string)

  - `data.buildingPlans.locationInfo.planFile.fileName` (string,null)

  - `data.buildingPlans.locationInfo.planFile.fileSize` (string,null)

  - `data.buildingPlans.locationInfo.planFile.currentRevisionNumber` (integer)

  - `data.buildingPlans.locationInfo.planFile.createdOn` (string,null)

  - `data.buildingPlans.locationInfo.planFile.fileSizeInBytes` (integer)

  - `data.buildingPlans.locationInfo.planFile.createdDate` (string)

  - `data.buildingPlans.locationInfo.planFile.createdBy` (string,null)

  - `data.buildingPlans.locationInfo.planFile.isLatest` (boolean)

  - `data.buildingPlans.locationInfo.cadPlanCoordinates` (array,null)

  - `data.buildingPlans.locationInfo.spaceAssignedOnDateTimeFormat` (string,null)

  - `data.buildingPlans.locationInfo.svgPlanAdded` (boolean)

  - `data.buildingPlans.assetIds` (array,null)

  - `data.buildingPlans.svgPlanAdded` (boolean)

  - `data.buildingPlans.responseDescription` (string,null)

  - `data.buildingPlans.hasAnyRevisions` (boolean)

  - `data.buildingPlans.isPlanRemoved` (boolean)

  - `data.buildingPlans.responseMessage` (string,null)

  - `data.buildingPlans.isCadPlanExist` (boolean)

  - `data.buildingType` (string,null)

  - `data.cadPlans` (array,null)

  - `data.cadPlans.planId` (string)

  - `data.cadPlans.planType` (object)

  - `data.cadPlans.planType.planTypeId` (string)

  - `data.cadPlans.planType.planTypeName` (string,null)

  - `data.cadPlans.planDescription` (string,null)

  - `data.cadPlans.planModel` (object)

  - `data.cadPlans.planModel.planModelId` (string)

  - `data.cadPlans.planModel.planModelName` (string,null)

  - `data.cadPlans.planFile` (object)

  - `data.cadPlans.planFile.fileId` (string)

  - `data.cadPlans.planFile.fileName` (string,null)

  - `data.cadPlans.planFile.fileSize` (string,null)

  - `data.cadPlans.planFile.currentRevisionNumber` (integer)

  - `data.cadPlans.planFile.createdOn` (string,null)

  - `data.cadPlans.planFile.fileSizeInBytes` (integer)

  - `data.cadPlans.planFile.createdDate` (string)

  - `data.cadPlans.planFile.createdBy` (string,null)

  - `data.cadPlans.planFile.isLatest` (boolean)

  - `data.cadPlans.revisions` (array,null)

  - `data.cadPlans.revisions.fileId` (string)

  - `data.cadPlans.revisions.fileName` (string,null)

  - `data.cadPlans.revisions.fileSize` (string,null)

  - `data.cadPlans.revisions.currentRevisionNumber` (integer)

  - `data.cadPlans.revisions.createdOn` (string,null)

  - `data.cadPlans.revisions.fileSizeInBytes` (integer)

  - `data.cadPlans.revisions.createdDate` (string)

  - `data.cadPlans.revisions.createdBy` (string,null)

  - `data.cadPlans.revisions.isLatest` (boolean)

  - `data.cadPlans.locationInfo` (object)

  - `data.cadPlans.locationInfo.location` (string,null)

  - `data.cadPlans.locationInfo.locationId` (string,null)

  - `data.cadPlans.locationInfo.building` (string,null)

  - `data.cadPlans.locationInfo.buildingId` (string,null)

  - `data.cadPlans.locationInfo.level` (string,null)

  - `data.cadPlans.locationInfo.levelId` (string,null)

  - `data.cadPlans.locationInfo.room` (string,null)

  - `data.cadPlans.locationInfo.roomId` (string,null)

  - `data.cadPlans.locationInfo.workspace` (string,null)

  - `data.cadPlans.locationInfo.workspaceId` (string,null)

  - `data.cadPlans.locationInfo.spaceKey` (string,null)

  - `data.cadPlans.locationInfo.spaceAssignedOn` (string,null)

  - `data.cadPlans.locationInfo.spaceCategory` (object)

  - `data.cadPlans.locationInfo.spaceCategory.spaceCategoryId` (string)

  - `data.cadPlans.locationInfo.spaceCategory.spaceCategoryName` (string,null)

  - `data.cadPlans.locationInfo.spaceCategory.spaceCategoryCode` (string,null)

  - `data.cadPlans.locationInfo.roomFunction` (object)

  - `data.cadPlans.locationInfo.roomFunction.roomFunctionId` (string)

  - `data.cadPlans.locationInfo.roomFunction.roomFunctionName` (string,null)

  - `data.cadPlans.locationInfo.spaceArea` (number,null)

  - `data.cadPlans.locationInfo.levelPlanHandle` (string,null)

  - `data.cadPlans.locationInfo.employeeLocationId` (string,null)

  - `data.cadPlans.locationInfo.rollBackInfo` (object)

  - `data.cadPlans.locationInfo.rollBackInfo.isRollBack` (boolean)

  - `data.cadPlans.locationInfo.rollBackInfo.rollBackType` (string,null)

  - `data.cadPlans.locationInfo.rollBackInfo.employeeLocationId` (string)

  - `data.cadPlans.locationInfo.rollBackInfo.comments` (string,null)

  - `data.cadPlans.locationInfo.levelPlanId` (string,null)

  - `data.cadPlans.locationInfo.planFile` (object)

  - `data.cadPlans.locationInfo.planFile.fileId` (string)

  - `data.cadPlans.locationInfo.planFile.fileName` (string,null)

  - `data.cadPlans.locationInfo.planFile.fileSize` (string,null)

  - `data.cadPlans.locationInfo.planFile.currentRevisionNumber` (integer)

  - `data.cadPlans.locationInfo.planFile.createdOn` (string,null)

  - `data.cadPlans.locationInfo.planFile.fileSizeInBytes` (integer)

  - `data.cadPlans.locationInfo.planFile.createdDate` (string)

  - `data.cadPlans.locationInfo.planFile.createdBy` (string,null)

  - `data.cadPlans.locationInfo.planFile.isLatest` (boolean)

  - `data.cadPlans.locationInfo.cadPlanCoordinates` (array,null)

  - `data.cadPlans.locationInfo.spaceAssignedOnDateTimeFormat` (string,null)

  - `data.cadPlans.locationInfo.svgPlanAdded` (boolean)

  - `data.cadPlans.assetIds` (array,null)

  - `data.cadPlans.svgPlanAdded` (boolean)

  - `data.cadPlans.responseDescription` (string,null)

  - `data.cadPlans.hasAnyRevisions` (boolean)

  - `data.cadPlans.isPlanRemoved` (boolean)

  - `data.cadPlans.responseMessage` (string,null)

  - `data.cadPlans.isCadPlanExist` (boolean)

  - `data.location` (object)

  - `data.location.type` (string,null)

  - `data.location.features` (array,null)

  - `data.location.features.type` (string,null)

  - `data.location.features.id` (integer)

  - `data.location.features.properties` (object,null)

  - `data.location.features.geometry` (object,null)

  - `data.spaceDetail` (object)

  - `data.spaceDetail.numberOfDepartments` (integer)

  - `data.spaceDetail.totalArea` (number)

  - `data.spaceDetail.usableArea` (number)

  - `data.spaceDetail.occupied` (integer)

  - `data.spaceDetail.vacant` (integer)

  - `data.status` (object)

  - `data.status.statusId` (string)

  - `data.status.statusCode` (string,null)

  - `data.status.statusName` (string,null)

  - `data.status.statusColor` (string,null)

  - `data.responseDescription` (string,null)

  - `data.latLong` (array,null)

  - `data.latitude` (number,null)

  - `data.longitude` (number,null)

  - `message` (string,null)

  - `isError` (boolean)

  - `messageCode` (integer)

  - `status` (string,null)

  - `errorType` (string,null)

  - `traceid` (string,null)

  - `responseDescription` (string,null)


